CVE-2024-12039
Improper Restriction of Excessive Authentication Attempts in langgenius/dify
Description
langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess attempts for password reset. This allows an unauthenticated attacker to reset owner, admin, or other user passwords within a few hours by guessing the six-digit code, resulting in a complete compromise of the application.
INFO
Published Date :
March 20, 2025, 10:15 a.m.
Last Modified :
July 15, 2025, 3:59 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Implement rate limiting on password reset attempts.
- Enforce account lockout after multiple failed attempts.
- Require stronger, more complex verification codes.
- Monitor and audit password reset activities.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-12039.
                                        
| URL | Resource | 
|---|---|
| https://huntr.com/bounties/61af30d5-6055-4c6c-8a55-3fa43dada512 | Exploit Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-12039 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-12039
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-12039 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-12039 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Jul. 15, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:langgenius:dify:0.10.1:*:*:*:*:node.js:*:* Added Reference Type huntr.dev: https://huntr.com/bounties/61af30d5-6055-4c6c-8a55-3fa43dada512 Types: Exploit, Third Party Advisory 
- 
                            New CVE Received by [email protected]Mar. 20, 2025 Action Type Old Value New Value Added Description langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess attempts for password reset. This allows an unauthenticated attacker to reset owner, admin, or other user passwords within a few hours by guessing the six-digit code, resulting in a complete compromise of the application. Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N Added CWE CWE-307 Added Reference https://huntr.com/bounties/61af30d5-6055-4c6c-8a55-3fa43dada512 
 
                         
                         
                         
                                             
                                            